package com.qf.mybatis.pojo;/*
*王浩政 
*whz
2022/8/29
11:53
*小米商城
*/

//实体类
public class User {
    private int id;
    private String name;
    private String PASSWORD;
    private char sex;

    public User() {
    }

    public User(int id, String name, String PASSWORD, char sex) {
        this.id = id;
        this.name = name;
        this.PASSWORD = PASSWORD;
        this.sex = sex;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPASSWORD() {
        return PASSWORD;
    }

    public void setPASSWORD(String PASSWORD) {
        this.PASSWORD = PASSWORD;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", PASSWORD='" + PASSWORD + '\'' +
                ", sex=" + sex +
                '}';
    }
}